<template>
	<view class="content">
		<view class="header">
			<view class="box">
				<text class="iconfont icon-left" @click="go()"></text>
				<text>我的文档</text>
				<text class="fonts" @click="show()">管理</text>
			</view>
		</view>
		<view class="list">
			<view class="item">
				<view class="title">
					<text>WORD</text>
				</view>
				<view class="label">
					<view class="fl"></view>
					<image src="../../static/icon2.png" mode=""></image>
					<view class="fr">
						<text class="f">名称.DOC</text>
						<text class="ff">20-03-19 94.00KB</text>
					</view>
				</view>
				<view class="label">
					<view class="fl"></view>
					<image src="../../static/icon2.png" mode=""></image>
					<view class="fr">
						<text class="f">名称.DOC</text>
						<text class="ff">20-03-19 94.00KB</text>
					</view>
				</view>
			</view>
			<view class="item">
				<view class="title">
					<text>WORD</text>
				</view>
				<view class="label">
					<view class="fl"></view>
					<image src="../../static/icon2.png" mode=""></image>
					<view class="fr">
						<text class="f">名称.DOC</text>
						<text class="ff">20-03-19 94.00KB</text>
					</view>
				</view>
				<view class="label">
					<view class="fl"></view>
					<image src="../../static/icon2.png" mode=""></image>
					<view class="fr">
						<text class="f">名称.DOC</text>
						<text class="ff">20-03-19 94.00KB</text>
					</view>
				</view>
			</view>
		</view>
		<wyb-popup ref="popup" height='auto' bgColor='rgba(0,0,0,0)' type="bottom" radius="6">
			<view class="btn_box">
				<view class="box">
					<view>添加</view>
					<view>删除</view>
				</view>
				<view class="box">
					<view @click="hide()">取消</view>
				</view>
			</view>
		</wyb-popup>
	</view>
</template>

<script>
	import wybPopup from '@/components/wyb-popup/wyb-popup.vue'
	export default {
		components: {
			wybPopup
		},
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			show() {
				this.$refs.popup.show()
			},
			hide() {
				this.$refs.popup.hide()
			},
			go(){
				uni.navigateBack({
					delta:1
				})
			}
		}
	}
</script>

<style lang="scss">
	view,
	text,
	input,
	textarea {
		box-sizing: border-box;
	}

	page {
		background: #fff;
	}

	.btn_box {
		overflow: hidden;
		width: 690rpx;
		margin: 0 auto;
		margin-bottom: 10rpx;
		.box {
			overflow: hidden;
			border-radius: 10rpx;
			margin-bottom: 20rpx;
			background: #fff;
			width: 100%;
			view {
				width: 100%;
				height: 80rpx;
				text-align: center;
				line-height: 80rpx;
				border-bottom: 1px solid #BFBFBF;
				font-size: 28rpx;
				color: #0091FF;
			}
		}
	}

	.list {
		overflow: hidden;
		padding: 0 30rpx;

		.item {
			overflow: hidden;
			padding: 30rpx 0 0 0;

			.title {
				display: flex;
				align-items: center;
				margin-bottom: 36rpx;

				text {
					font-size: 23rpx;
					color: #BFBFBF;
				}
			}

			.label {
				overflow: hidden;
				display: flex;
				align-items: center;
				margin-bottom: 30rpx;

				.fl {
					overflow: hidden;
					width: 40rpx;
					height: 40rpx;
					border-radius: 50%;
					margin-right: 20rpx;
					display: none;
					border: 1px solid #929292;
				}

				image {
					width: 65rpx;
					height: 65rpx;
				}

				.fr {
					overflow: hidden;
					margin-left: 20rpx;

					.f {
						display: block;
						font-size: 25rpx;
						margin-bottom: 15rpx;
						color: #2D2D2D;
					}

					.ff {
						display: block;
						font-size: 22rpx;
						color: #929292;
					}
				}
			}
		}
	}

	.content {
		overflow: hidden;
		width: 100%;
		position: relative;

		.header {
			overflow: hidden;
			width: 100%;
			background-image: url(../../static/fawu_06.jpg);
			background-size: 100% 33rpx;
			background-repeat: no-repeat;
			background-position: bottom center;
			height: 155rpx;
			background-color: #153B33;
			position: relative;
			padding: 60rpx 0 0 0;

			.box {
				overflow: hidden;
				width: 100%;
				display: flex;
				position: relative;
				align-items: center;
				justify-content: center;
				.icon-left{
					color: #DBAC53;
					position: absolute;
					left: 17rpx;
					font-size: 35rpx;
					top: 50%;
					transform: translateY(-50%);
				}
				text {
					font-size: 28rpx;
					color: #DBAC53;
				}

				.fonts {
					font-size: 23rpx;
					position: absolute;
					right: 17rpx;
					color: #dbac53;
					top: 50%;
					transform: translateY(-50%);
					display: block;
				}

				image {
					width: 17rpx;
					height: 29rpx;
					position: absolute;
					left: 17rpx;
					top: 50%;
					margin-top: -14.5rpx;
				}
			}
		}
	}
</style>
